﻿using Newtonsoft.Json;

namespace Fadada.FASC.SDK.DotNetCore.Model
{
    public class DocFieldValue
    {
        /// <summary>
        /// 文档序号。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "docId", Required = Required.Always)]
        public int DocId { get; set; }

        /// <summary>
        /// 控件ID。仅支持填写类控件。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "fieldId", Required = Required.Always)]
        public string FieldId { get; set; }

        /// <summary>
        /// 填写的值。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "fieldValue", Required = Required.Always)]
        public string FieldValue { get; set; }
    }
}